From: Bastien Nocera Date: Mon, 21 Jul 2014 12:34:21 +0000 (+0200) Subject: system: Fix orientation lock never appearing X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2321 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9c6180afa2c6d4b9b6ec75f5b88d8c2e85e4d465;p=gnome-shell.git system: Fix orientation lock never appearing Typos meant that the orientation service was never detected as running and that the orientation lock menu item didn't appear. https://bugzilla.gnome.org/show_bug.cgi?id=733498 --- diff --git a/js/ui/status/system.js b/js/ui/status/system.js index 51b511841..a2ad289ef 100644 --- a/js/ui/status/system.js +++ b/js/ui/status/system.js @@ -151,11 +151,11 @@ const Indicator = new Lang.Class({ Gio.DBus.session.watch_name('org.gnome.SettingsDaemon.Orientation', Gio.BusNameWatcherFlags.NONE, Lang.bind(this, function() { - this._orentationExists = true; + this._orientationExists = true; this._updateOrientationLock(); }), Lang.bind(this, function() { - this._orentationExists = false; + this._orientationExists = false; this._updateOrientationLock(); })); this._updateOrientationLock();